
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/admin.css"  type="text/css" media="screen" />
<script language="javascript" src="../js/validaciones.js"></script>
<script language='javascript' src="../js/popcalendar.js"></script>
<title>Panel Admin</title>
</head>

<body>
<div id="barra" align="center">Panel Admin</div>
<br/><br/>
<div id="contenedor"><center>
<table border="0" width="100%">
<form name="usuario" method="post" action="controlador/c.usuario.php">
<tr>
	<td>Documento:</td>
    <td><input type="text" name="documento" placeholder="Documento" /></td>
</tr>
<tr>
	<td>Nombre:</td>
    <td><input type="text" name="nombre" placeholder="Nombre" /></td>
</tr>
<tr>
	<td>Apellido:</td>
    <td><input type="text" name="apellido" placeholder="Apellido" /></td>
</tr>
<tr>
	<td>Direccion:</td>
    <td><input type="text" name="direccion" placeholder="Direccion" /></td>
</tr>
<tr>
	<td>Telefono:</td>
    <td><input type="text" name="telefono" placeholder="Telefono" /></td>
</tr>
<tr>
	<td>Fecha Nacimiento:</td>
    <td><input name="fecha_n" type="text" id="dateArrival" onClick="popUpCalendar(this, usuario.dateArrival, 'yyyy-mm-dd');" size="10"></td>
</tr>
<tr>
	<td>Email:</td>
    <td><input type="text" placeholder="Email" name="correo" /></td>
</tr>
<tr>
	<td>Sexo:</td>
    <td>Masculino:<input type="radio" name="sexo" value="M"/>Femenino:<input type="radio" name="sexo" value="F"/></td>
</tr>
<tr>
	<td>Login:</td>
    <td><input type="text" placeholder="Login" name="login" /></td>
</tr>
<tr>
	<td>Password:</td>
    <td><input type="password" placeholder="Password" name="password" /></td>
</tr>
<tr>
	<td>Plan:</td>
    <td>
    	<select name="plan">
        <option value="0">-Seleccione-</option>
        <?
			foreach($lstPlanes as $key=>$plan){
				echo'<option value="'.$plan["idplan"].'">'.$plan["carrera"].'</option>';
			}
        ?>
        </select>
    </td>
</tr>
<tr>
	<td>Rol:</td>
    <td>
    	<select name="rol">
        <option value="0">-Seleccione-</option>
        <?
			foreach($lstRoles as $key=>$rol){
				echo'<option value="'.$rol["idperfil"].'">'.$rol["perfil"].'</option>';
			}
        ?>
        </select>
    </td>
</tr>
<tr>
<input type="hidden" name="estado" value="activo" />
<input type="hidden" name="visible" value="si" />
<input type="hidden" name="action" value="crearUsuario" />
	<td><input type="reset" name="Cancelar" value="Cancelar" /></td>
    <td><input type="submit" name="Enviar" value="Crear" /></td>
</tr>
<tr>
       <td align="center" colspan="3">
            <br /> <br />
            <a href="admin.php">Regresar</a>
        </td>
</tr>
</form>
</table>
</center>
</div>

</body>
</html>
